#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

%:
	dh $@ --buildsystem=python_distutils --with=python_support

override_dh_auto_build:
	$(MAKE) doc
	$(MAKE) tmpls
	dh_auto_build

override_dh_auto_install:
	$(MAKE) DESTDIR=$(CURDIR)/debian/spectacle install-data
	dh_auto_install

override_dh_auto_clean:
	$(MAKE) clean
	rm -rf spectacle/__version__.py spectacle.egg-info
	dh_auto_clean
